﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
using ThesisSystem.Models;
using ThesisSystem.ViewModels;

namespace ThesisSystem.DAL
{
    public class ThesisSystemEntities : DbContext
    {
        #region 视图
        public DbSet<ThesisSearchView> ThesisSearchViews { get; set; }
        public DbSet<TargetsSearchView> TargetsSearchViews { get; set; }
       // public DbSet<MarkTarget> MarkTargets { get; set; }
        #endregion

        #region 系统菜单

        public DbSet<SysMenu> SysMenus { get; set; }
        public DbSet<Thesis> Theses { get; set; }
        public DbSet<Student> Students { get; set; }
        public DbSet<ThesisType> ThesisTypes { get; set; }
        public DbSet<Teacher> Teachers { get; set; }
        public DbSet<Target> Targets { get; set; }
        public DbSet<Marking> Markings { get; set; }
        public DbSet<JudgeInfo> JudegeInfoes { get; set; }
        public DbSet<StudentGroup> StudentGroups { get; set; }
        public DbSet<TeacherGroup> TeacherGroups { get; set; }
        public DbSet<Department> Departments { get; set; }
        public DbSet<GClass> GClasses { get; set; }
        public DbSet<Profession> Professions { get; set; }
        
        #endregion
    }
}
